package com.indexingsystem.boss.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WechatSharesExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public WechatSharesExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andResIdIsNull() {
            addCriterion("res_id is null");
            return (Criteria) this;
        }

        public Criteria andResIdIsNotNull() {
            addCriterion("res_id is not null");
            return (Criteria) this;
        }

        public Criteria andResIdEqualTo(String value) {
            addCriterion("res_id =", value, "resId");
            return (Criteria) this;
        }

        public Criteria andResIdNotEqualTo(String value) {
            addCriterion("res_id <>", value, "resId");
            return (Criteria) this;
        }

        public Criteria andResIdGreaterThan(String value) {
            addCriterion("res_id >", value, "resId");
            return (Criteria) this;
        }

        public Criteria andResIdGreaterThanOrEqualTo(String value) {
            addCriterion("res_id >=", value, "resId");
            return (Criteria) this;
        }

        public Criteria andResIdLessThan(String value) {
            addCriterion("res_id <", value, "resId");
            return (Criteria) this;
        }

        public Criteria andResIdLessThanOrEqualTo(String value) {
            addCriterion("res_id <=", value, "resId");
            return (Criteria) this;
        }

        public Criteria andResIdLike(String value) {
            addCriterion("res_id like", value, "resId");
            return (Criteria) this;
        }

        public Criteria andResIdNotLike(String value) {
            addCriterion("res_id not like", value, "resId");
            return (Criteria) this;
        }

        public Criteria andResIdIn(List<String> values) {
            addCriterion("res_id in", values, "resId");
            return (Criteria) this;
        }

        public Criteria andResIdNotIn(List<String> values) {
            addCriterion("res_id not in", values, "resId");
            return (Criteria) this;
        }

        public Criteria andResIdBetween(String value1, String value2) {
            addCriterion("res_id between", value1, value2, "resId");
            return (Criteria) this;
        }

        public Criteria andResIdNotBetween(String value1, String value2) {
            addCriterion("res_id not between", value1, value2, "resId");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andIntroIsNull() {
            addCriterion("intro is null");
            return (Criteria) this;
        }

        public Criteria andIntroIsNotNull() {
            addCriterion("intro is not null");
            return (Criteria) this;
        }

        public Criteria andIntroEqualTo(String value) {
            addCriterion("intro =", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotEqualTo(String value) {
            addCriterion("intro <>", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroGreaterThan(String value) {
            addCriterion("intro >", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroGreaterThanOrEqualTo(String value) {
            addCriterion("intro >=", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroLessThan(String value) {
            addCriterion("intro <", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroLessThanOrEqualTo(String value) {
            addCriterion("intro <=", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroLike(String value) {
            addCriterion("intro like", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotLike(String value) {
            addCriterion("intro not like", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroIn(List<String> values) {
            addCriterion("intro in", values, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotIn(List<String> values) {
            addCriterion("intro not in", values, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroBetween(String value1, String value2) {
            addCriterion("intro between", value1, value2, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotBetween(String value1, String value2) {
            addCriterion("intro not between", value1, value2, "intro");
            return (Criteria) this;
        }

        public Criteria andAuthorIsNull() {
            addCriterion("author is null");
            return (Criteria) this;
        }

        public Criteria andAuthorIsNotNull() {
            addCriterion("author is not null");
            return (Criteria) this;
        }

        public Criteria andAuthorEqualTo(String value) {
            addCriterion("author =", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorNotEqualTo(String value) {
            addCriterion("author <>", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorGreaterThan(String value) {
            addCriterion("author >", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorGreaterThanOrEqualTo(String value) {
            addCriterion("author >=", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorLessThan(String value) {
            addCriterion("author <", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorLessThanOrEqualTo(String value) {
            addCriterion("author <=", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorLike(String value) {
            addCriterion("author like", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorNotLike(String value) {
            addCriterion("author not like", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorIn(List<String> values) {
            addCriterion("author in", values, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorNotIn(List<String> values) {
            addCriterion("author not in", values, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorBetween(String value1, String value2) {
            addCriterion("author between", value1, value2, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorNotBetween(String value1, String value2) {
            addCriterion("author not between", value1, value2, "author");
            return (Criteria) this;
        }

        public Criteria andRefidIsNull() {
            addCriterion("refId is null");
            return (Criteria) this;
        }

        public Criteria andRefidIsNotNull() {
            addCriterion("refId is not null");
            return (Criteria) this;
        }

        public Criteria andRefidEqualTo(String value) {
            addCriterion("refId =", value, "refid");
            return (Criteria) this;
        }

        public Criteria andRefidNotEqualTo(String value) {
            addCriterion("refId <>", value, "refid");
            return (Criteria) this;
        }

        public Criteria andRefidGreaterThan(String value) {
            addCriterion("refId >", value, "refid");
            return (Criteria) this;
        }

        public Criteria andRefidGreaterThanOrEqualTo(String value) {
            addCriterion("refId >=", value, "refid");
            return (Criteria) this;
        }

        public Criteria andRefidLessThan(String value) {
            addCriterion("refId <", value, "refid");
            return (Criteria) this;
        }

        public Criteria andRefidLessThanOrEqualTo(String value) {
            addCriterion("refId <=", value, "refid");
            return (Criteria) this;
        }

        public Criteria andRefidLike(String value) {
            addCriterion("refId like", value, "refid");
            return (Criteria) this;
        }

        public Criteria andRefidNotLike(String value) {
            addCriterion("refId not like", value, "refid");
            return (Criteria) this;
        }

        public Criteria andRefidIn(List<String> values) {
            addCriterion("refId in", values, "refid");
            return (Criteria) this;
        }

        public Criteria andRefidNotIn(List<String> values) {
            addCriterion("refId not in", values, "refid");
            return (Criteria) this;
        }

        public Criteria andRefidBetween(String value1, String value2) {
            addCriterion("refId between", value1, value2, "refid");
            return (Criteria) this;
        }

        public Criteria andRefidNotBetween(String value1, String value2) {
            addCriterion("refId not between", value1, value2, "refid");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("userId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("userId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("userId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("userId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("userId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("userId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("userId like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("userId not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("userId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("userId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("userId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("userId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andEdittimeIsNull() {
            addCriterion("editTime is null");
            return (Criteria) this;
        }

        public Criteria andEdittimeIsNotNull() {
            addCriterion("editTime is not null");
            return (Criteria) this;
        }

        public Criteria andEdittimeEqualTo(Date value) {
            addCriterion("editTime =", value, "edittime");
            return (Criteria) this;
        }

        public Criteria andEdittimeNotEqualTo(Date value) {
            addCriterion("editTime <>", value, "edittime");
            return (Criteria) this;
        }

        public Criteria andEdittimeGreaterThan(Date value) {
            addCriterion("editTime >", value, "edittime");
            return (Criteria) this;
        }

        public Criteria andEdittimeGreaterThanOrEqualTo(Date value) {
            addCriterion("editTime >=", value, "edittime");
            return (Criteria) this;
        }

        public Criteria andEdittimeLessThan(Date value) {
            addCriterion("editTime <", value, "edittime");
            return (Criteria) this;
        }

        public Criteria andEdittimeLessThanOrEqualTo(Date value) {
            addCriterion("editTime <=", value, "edittime");
            return (Criteria) this;
        }

        public Criteria andEdittimeIn(List<Date> values) {
            addCriterion("editTime in", values, "edittime");
            return (Criteria) this;
        }

        public Criteria andEdittimeNotIn(List<Date> values) {
            addCriterion("editTime not in", values, "edittime");
            return (Criteria) this;
        }

        public Criteria andEdittimeBetween(Date value1, Date value2) {
            addCriterion("editTime between", value1, value2, "edittime");
            return (Criteria) this;
        }

        public Criteria andEdittimeNotBetween(Date value1, Date value2) {
            addCriterion("editTime not between", value1, value2, "edittime");
            return (Criteria) this;
        }

        public Criteria andWxurlIsNull() {
            addCriterion("wxUrl is null");
            return (Criteria) this;
        }

        public Criteria andWxurlIsNotNull() {
            addCriterion("wxUrl is not null");
            return (Criteria) this;
        }

        public Criteria andWxurlEqualTo(String value) {
            addCriterion("wxUrl =", value, "wxurl");
            return (Criteria) this;
        }

        public Criteria andWxurlNotEqualTo(String value) {
            addCriterion("wxUrl <>", value, "wxurl");
            return (Criteria) this;
        }

        public Criteria andWxurlGreaterThan(String value) {
            addCriterion("wxUrl >", value, "wxurl");
            return (Criteria) this;
        }

        public Criteria andWxurlGreaterThanOrEqualTo(String value) {
            addCriterion("wxUrl >=", value, "wxurl");
            return (Criteria) this;
        }

        public Criteria andWxurlLessThan(String value) {
            addCriterion("wxUrl <", value, "wxurl");
            return (Criteria) this;
        }

        public Criteria andWxurlLessThanOrEqualTo(String value) {
            addCriterion("wxUrl <=", value, "wxurl");
            return (Criteria) this;
        }

        public Criteria andWxurlLike(String value) {
            addCriterion("wxUrl like", value, "wxurl");
            return (Criteria) this;
        }

        public Criteria andWxurlNotLike(String value) {
            addCriterion("wxUrl not like", value, "wxurl");
            return (Criteria) this;
        }

        public Criteria andWxurlIn(List<String> values) {
            addCriterion("wxUrl in", values, "wxurl");
            return (Criteria) this;
        }

        public Criteria andWxurlNotIn(List<String> values) {
            addCriterion("wxUrl not in", values, "wxurl");
            return (Criteria) this;
        }

        public Criteria andWxurlBetween(String value1, String value2) {
            addCriterion("wxUrl between", value1, value2, "wxurl");
            return (Criteria) this;
        }

        public Criteria andWxurlNotBetween(String value1, String value2) {
            addCriterion("wxUrl not between", value1, value2, "wxurl");
            return (Criteria) this;
        }

        public Criteria andReflinkIsNull() {
            addCriterion("refLink is null");
            return (Criteria) this;
        }

        public Criteria andReflinkIsNotNull() {
            addCriterion("refLink is not null");
            return (Criteria) this;
        }

        public Criteria andReflinkEqualTo(String value) {
            addCriterion("refLink =", value, "reflink");
            return (Criteria) this;
        }

        public Criteria andReflinkNotEqualTo(String value) {
            addCriterion("refLink <>", value, "reflink");
            return (Criteria) this;
        }

        public Criteria andReflinkGreaterThan(String value) {
            addCriterion("refLink >", value, "reflink");
            return (Criteria) this;
        }

        public Criteria andReflinkGreaterThanOrEqualTo(String value) {
            addCriterion("refLink >=", value, "reflink");
            return (Criteria) this;
        }

        public Criteria andReflinkLessThan(String value) {
            addCriterion("refLink <", value, "reflink");
            return (Criteria) this;
        }

        public Criteria andReflinkLessThanOrEqualTo(String value) {
            addCriterion("refLink <=", value, "reflink");
            return (Criteria) this;
        }

        public Criteria andReflinkLike(String value) {
            addCriterion("refLink like", value, "reflink");
            return (Criteria) this;
        }

        public Criteria andReflinkNotLike(String value) {
            addCriterion("refLink not like", value, "reflink");
            return (Criteria) this;
        }

        public Criteria andReflinkIn(List<String> values) {
            addCriterion("refLink in", values, "reflink");
            return (Criteria) this;
        }

        public Criteria andReflinkNotIn(List<String> values) {
            addCriterion("refLink not in", values, "reflink");
            return (Criteria) this;
        }

        public Criteria andReflinkBetween(String value1, String value2) {
            addCriterion("refLink between", value1, value2, "reflink");
            return (Criteria) this;
        }

        public Criteria andReflinkNotBetween(String value1, String value2) {
            addCriterion("refLink not between", value1, value2, "reflink");
            return (Criteria) this;
        }

        public Criteria andCoverurlIsNull() {
            addCriterion("coverUrl is null");
            return (Criteria) this;
        }

        public Criteria andCoverurlIsNotNull() {
            addCriterion("coverUrl is not null");
            return (Criteria) this;
        }

        public Criteria andCoverurlEqualTo(String value) {
            addCriterion("coverUrl =", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlNotEqualTo(String value) {
            addCriterion("coverUrl <>", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlGreaterThan(String value) {
            addCriterion("coverUrl >", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlGreaterThanOrEqualTo(String value) {
            addCriterion("coverUrl >=", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlLessThan(String value) {
            addCriterion("coverUrl <", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlLessThanOrEqualTo(String value) {
            addCriterion("coverUrl <=", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlLike(String value) {
            addCriterion("coverUrl like", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlNotLike(String value) {
            addCriterion("coverUrl not like", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlIn(List<String> values) {
            addCriterion("coverUrl in", values, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlNotIn(List<String> values) {
            addCriterion("coverUrl not in", values, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlBetween(String value1, String value2) {
            addCriterion("coverUrl between", value1, value2, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlNotBetween(String value1, String value2) {
            addCriterion("coverUrl not between", value1, value2, "coverurl");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleIsNull() {
            addCriterion("periodicalTitle is null");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleIsNotNull() {
            addCriterion("periodicalTitle is not null");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleEqualTo(String value) {
            addCriterion("periodicalTitle =", value, "periodicaltitle");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleNotEqualTo(String value) {
            addCriterion("periodicalTitle <>", value, "periodicaltitle");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleGreaterThan(String value) {
            addCriterion("periodicalTitle >", value, "periodicaltitle");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleGreaterThanOrEqualTo(String value) {
            addCriterion("periodicalTitle >=", value, "periodicaltitle");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleLessThan(String value) {
            addCriterion("periodicalTitle <", value, "periodicaltitle");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleLessThanOrEqualTo(String value) {
            addCriterion("periodicalTitle <=", value, "periodicaltitle");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleLike(String value) {
            addCriterion("periodicalTitle like", value, "periodicaltitle");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleNotLike(String value) {
            addCriterion("periodicalTitle not like", value, "periodicaltitle");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleIn(List<String> values) {
            addCriterion("periodicalTitle in", values, "periodicaltitle");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleNotIn(List<String> values) {
            addCriterion("periodicalTitle not in", values, "periodicaltitle");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleBetween(String value1, String value2) {
            addCriterion("periodicalTitle between", value1, value2, "periodicaltitle");
            return (Criteria) this;
        }

        public Criteria andPeriodicaltitleNotBetween(String value1, String value2) {
            addCriterion("periodicalTitle not between", value1, value2, "periodicaltitle");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathIsNull() {
            addCriterion("periodicalPath is null");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathIsNotNull() {
            addCriterion("periodicalPath is not null");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathEqualTo(String value) {
            addCriterion("periodicalPath =", value, "periodicalpath");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathNotEqualTo(String value) {
            addCriterion("periodicalPath <>", value, "periodicalpath");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathGreaterThan(String value) {
            addCriterion("periodicalPath >", value, "periodicalpath");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathGreaterThanOrEqualTo(String value) {
            addCriterion("periodicalPath >=", value, "periodicalpath");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathLessThan(String value) {
            addCriterion("periodicalPath <", value, "periodicalpath");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathLessThanOrEqualTo(String value) {
            addCriterion("periodicalPath <=", value, "periodicalpath");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathLike(String value) {
            addCriterion("periodicalPath like", value, "periodicalpath");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathNotLike(String value) {
            addCriterion("periodicalPath not like", value, "periodicalpath");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathIn(List<String> values) {
            addCriterion("periodicalPath in", values, "periodicalpath");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathNotIn(List<String> values) {
            addCriterion("periodicalPath not in", values, "periodicalpath");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathBetween(String value1, String value2) {
            addCriterion("periodicalPath between", value1, value2, "periodicalpath");
            return (Criteria) this;
        }

        public Criteria andPeriodicalpathNotBetween(String value1, String value2) {
            addCriterion("periodicalPath not between", value1, value2, "periodicalpath");
            return (Criteria) this;
        }

        public Criteria andPeriodnameIsNull() {
            addCriterion("periodName is null");
            return (Criteria) this;
        }

        public Criteria andPeriodnameIsNotNull() {
            addCriterion("periodName is not null");
            return (Criteria) this;
        }

        public Criteria andPeriodnameEqualTo(String value) {
            addCriterion("periodName =", value, "periodname");
            return (Criteria) this;
        }

        public Criteria andPeriodnameNotEqualTo(String value) {
            addCriterion("periodName <>", value, "periodname");
            return (Criteria) this;
        }

        public Criteria andPeriodnameGreaterThan(String value) {
            addCriterion("periodName >", value, "periodname");
            return (Criteria) this;
        }

        public Criteria andPeriodnameGreaterThanOrEqualTo(String value) {
            addCriterion("periodName >=", value, "periodname");
            return (Criteria) this;
        }

        public Criteria andPeriodnameLessThan(String value) {
            addCriterion("periodName <", value, "periodname");
            return (Criteria) this;
        }

        public Criteria andPeriodnameLessThanOrEqualTo(String value) {
            addCriterion("periodName <=", value, "periodname");
            return (Criteria) this;
        }

        public Criteria andPeriodnameLike(String value) {
            addCriterion("periodName like", value, "periodname");
            return (Criteria) this;
        }

        public Criteria andPeriodnameNotLike(String value) {
            addCriterion("periodName not like", value, "periodname");
            return (Criteria) this;
        }

        public Criteria andPeriodnameIn(List<String> values) {
            addCriterion("periodName in", values, "periodname");
            return (Criteria) this;
        }

        public Criteria andPeriodnameNotIn(List<String> values) {
            addCriterion("periodName not in", values, "periodname");
            return (Criteria) this;
        }

        public Criteria andPeriodnameBetween(String value1, String value2) {
            addCriterion("periodName between", value1, value2, "periodname");
            return (Criteria) this;
        }

        public Criteria andPeriodnameNotBetween(String value1, String value2) {
            addCriterion("periodName not between", value1, value2, "periodname");
            return (Criteria) this;
        }

        public Criteria andCoveridIsNull() {
            addCriterion("coverId is null");
            return (Criteria) this;
        }

        public Criteria andCoveridIsNotNull() {
            addCriterion("coverId is not null");
            return (Criteria) this;
        }

        public Criteria andCoveridEqualTo(String value) {
            addCriterion("coverId =", value, "coverid");
            return (Criteria) this;
        }

        public Criteria andCoveridNotEqualTo(String value) {
            addCriterion("coverId <>", value, "coverid");
            return (Criteria) this;
        }

        public Criteria andCoveridGreaterThan(String value) {
            addCriterion("coverId >", value, "coverid");
            return (Criteria) this;
        }

        public Criteria andCoveridGreaterThanOrEqualTo(String value) {
            addCriterion("coverId >=", value, "coverid");
            return (Criteria) this;
        }

        public Criteria andCoveridLessThan(String value) {
            addCriterion("coverId <", value, "coverid");
            return (Criteria) this;
        }

        public Criteria andCoveridLessThanOrEqualTo(String value) {
            addCriterion("coverId <=", value, "coverid");
            return (Criteria) this;
        }

        public Criteria andCoveridLike(String value) {
            addCriterion("coverId like", value, "coverid");
            return (Criteria) this;
        }

        public Criteria andCoveridNotLike(String value) {
            addCriterion("coverId not like", value, "coverid");
            return (Criteria) this;
        }

        public Criteria andCoveridIn(List<String> values) {
            addCriterion("coverId in", values, "coverid");
            return (Criteria) this;
        }

        public Criteria andCoveridNotIn(List<String> values) {
            addCriterion("coverId not in", values, "coverid");
            return (Criteria) this;
        }

        public Criteria andCoveridBetween(String value1, String value2) {
            addCriterion("coverId between", value1, value2, "coverid");
            return (Criteria) this;
        }

        public Criteria andCoveridNotBetween(String value1, String value2) {
            addCriterion("coverId not between", value1, value2, "coverid");
            return (Criteria) this;
        }

        public Criteria andMaterialtagIsNull() {
            addCriterion("materialTag is null");
            return (Criteria) this;
        }

        public Criteria andMaterialtagIsNotNull() {
            addCriterion("materialTag is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialtagEqualTo(String value) {
            addCriterion("materialTag =", value, "materialtag");
            return (Criteria) this;
        }

        public Criteria andMaterialtagNotEqualTo(String value) {
            addCriterion("materialTag <>", value, "materialtag");
            return (Criteria) this;
        }

        public Criteria andMaterialtagGreaterThan(String value) {
            addCriterion("materialTag >", value, "materialtag");
            return (Criteria) this;
        }

        public Criteria andMaterialtagGreaterThanOrEqualTo(String value) {
            addCriterion("materialTag >=", value, "materialtag");
            return (Criteria) this;
        }

        public Criteria andMaterialtagLessThan(String value) {
            addCriterion("materialTag <", value, "materialtag");
            return (Criteria) this;
        }

        public Criteria andMaterialtagLessThanOrEqualTo(String value) {
            addCriterion("materialTag <=", value, "materialtag");
            return (Criteria) this;
        }

        public Criteria andMaterialtagLike(String value) {
            addCriterion("materialTag like", value, "materialtag");
            return (Criteria) this;
        }

        public Criteria andMaterialtagNotLike(String value) {
            addCriterion("materialTag not like", value, "materialtag");
            return (Criteria) this;
        }

        public Criteria andMaterialtagIn(List<String> values) {
            addCriterion("materialTag in", values, "materialtag");
            return (Criteria) this;
        }

        public Criteria andMaterialtagNotIn(List<String> values) {
            addCriterion("materialTag not in", values, "materialtag");
            return (Criteria) this;
        }

        public Criteria andMaterialtagBetween(String value1, String value2) {
            addCriterion("materialTag between", value1, value2, "materialtag");
            return (Criteria) this;
        }

        public Criteria andMaterialtagNotBetween(String value1, String value2) {
            addCriterion("materialTag not between", value1, value2, "materialtag");
            return (Criteria) this;
        }

        public Criteria andWxmediaidIsNull() {
            addCriterion("wxMediaId is null");
            return (Criteria) this;
        }

        public Criteria andWxmediaidIsNotNull() {
            addCriterion("wxMediaId is not null");
            return (Criteria) this;
        }

        public Criteria andWxmediaidEqualTo(String value) {
            addCriterion("wxMediaId =", value, "wxmediaid");
            return (Criteria) this;
        }

        public Criteria andWxmediaidNotEqualTo(String value) {
            addCriterion("wxMediaId <>", value, "wxmediaid");
            return (Criteria) this;
        }

        public Criteria andWxmediaidGreaterThan(String value) {
            addCriterion("wxMediaId >", value, "wxmediaid");
            return (Criteria) this;
        }

        public Criteria andWxmediaidGreaterThanOrEqualTo(String value) {
            addCriterion("wxMediaId >=", value, "wxmediaid");
            return (Criteria) this;
        }

        public Criteria andWxmediaidLessThan(String value) {
            addCriterion("wxMediaId <", value, "wxmediaid");
            return (Criteria) this;
        }

        public Criteria andWxmediaidLessThanOrEqualTo(String value) {
            addCriterion("wxMediaId <=", value, "wxmediaid");
            return (Criteria) this;
        }

        public Criteria andWxmediaidLike(String value) {
            addCriterion("wxMediaId like", value, "wxmediaid");
            return (Criteria) this;
        }

        public Criteria andWxmediaidNotLike(String value) {
            addCriterion("wxMediaId not like", value, "wxmediaid");
            return (Criteria) this;
        }

        public Criteria andWxmediaidIn(List<String> values) {
            addCriterion("wxMediaId in", values, "wxmediaid");
            return (Criteria) this;
        }

        public Criteria andWxmediaidNotIn(List<String> values) {
            addCriterion("wxMediaId not in", values, "wxmediaid");
            return (Criteria) this;
        }

        public Criteria andWxmediaidBetween(String value1, String value2) {
            addCriterion("wxMediaId between", value1, value2, "wxmediaid");
            return (Criteria) this;
        }

        public Criteria andWxmediaidNotBetween(String value1, String value2) {
            addCriterion("wxMediaId not between", value1, value2, "wxmediaid");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidIsNull() {
            addCriterion("upRresCategoryId is null");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidIsNotNull() {
            addCriterion("upRresCategoryId is not null");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidEqualTo(String value) {
            addCriterion("upRresCategoryId =", value, "uprrescategoryid");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidNotEqualTo(String value) {
            addCriterion("upRresCategoryId <>", value, "uprrescategoryid");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidGreaterThan(String value) {
            addCriterion("upRresCategoryId >", value, "uprrescategoryid");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidGreaterThanOrEqualTo(String value) {
            addCriterion("upRresCategoryId >=", value, "uprrescategoryid");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidLessThan(String value) {
            addCriterion("upRresCategoryId <", value, "uprrescategoryid");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidLessThanOrEqualTo(String value) {
            addCriterion("upRresCategoryId <=", value, "uprrescategoryid");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidLike(String value) {
            addCriterion("upRresCategoryId like", value, "uprrescategoryid");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidNotLike(String value) {
            addCriterion("upRresCategoryId not like", value, "uprrescategoryid");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidIn(List<String> values) {
            addCriterion("upRresCategoryId in", values, "uprrescategoryid");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidNotIn(List<String> values) {
            addCriterion("upRresCategoryId not in", values, "uprrescategoryid");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidBetween(String value1, String value2) {
            addCriterion("upRresCategoryId between", value1, value2, "uprrescategoryid");
            return (Criteria) this;
        }

        public Criteria andUprrescategoryidNotBetween(String value1, String value2) {
            addCriterion("upRresCategoryId not between", value1, value2, "uprrescategoryid");
            return (Criteria) this;
        }

        public Criteria andRescategoryidIsNull() {
            addCriterion("resCategoryId is null");
            return (Criteria) this;
        }

        public Criteria andRescategoryidIsNotNull() {
            addCriterion("resCategoryId is not null");
            return (Criteria) this;
        }

        public Criteria andRescategoryidEqualTo(String value) {
            addCriterion("resCategoryId =", value, "rescategoryid");
            return (Criteria) this;
        }

        public Criteria andRescategoryidNotEqualTo(String value) {
            addCriterion("resCategoryId <>", value, "rescategoryid");
            return (Criteria) this;
        }

        public Criteria andRescategoryidGreaterThan(String value) {
            addCriterion("resCategoryId >", value, "rescategoryid");
            return (Criteria) this;
        }

        public Criteria andRescategoryidGreaterThanOrEqualTo(String value) {
            addCriterion("resCategoryId >=", value, "rescategoryid");
            return (Criteria) this;
        }

        public Criteria andRescategoryidLessThan(String value) {
            addCriterion("resCategoryId <", value, "rescategoryid");
            return (Criteria) this;
        }

        public Criteria andRescategoryidLessThanOrEqualTo(String value) {
            addCriterion("resCategoryId <=", value, "rescategoryid");
            return (Criteria) this;
        }

        public Criteria andRescategoryidLike(String value) {
            addCriterion("resCategoryId like", value, "rescategoryid");
            return (Criteria) this;
        }

        public Criteria andRescategoryidNotLike(String value) {
            addCriterion("resCategoryId not like", value, "rescategoryid");
            return (Criteria) this;
        }

        public Criteria andRescategoryidIn(List<String> values) {
            addCriterion("resCategoryId in", values, "rescategoryid");
            return (Criteria) this;
        }

        public Criteria andRescategoryidNotIn(List<String> values) {
            addCriterion("resCategoryId not in", values, "rescategoryid");
            return (Criteria) this;
        }

        public Criteria andRescategoryidBetween(String value1, String value2) {
            addCriterion("resCategoryId between", value1, value2, "rescategoryid");
            return (Criteria) this;
        }

        public Criteria andRescategoryidNotBetween(String value1, String value2) {
            addCriterion("resCategoryId not between", value1, value2, "rescategoryid");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameIsNull() {
            addCriterion("upRresCategoryName is null");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameIsNotNull() {
            addCriterion("upRresCategoryName is not null");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameEqualTo(String value) {
            addCriterion("upRresCategoryName =", value, "uprrescategoryname");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameNotEqualTo(String value) {
            addCriterion("upRresCategoryName <>", value, "uprrescategoryname");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameGreaterThan(String value) {
            addCriterion("upRresCategoryName >", value, "uprrescategoryname");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameGreaterThanOrEqualTo(String value) {
            addCriterion("upRresCategoryName >=", value, "uprrescategoryname");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameLessThan(String value) {
            addCriterion("upRresCategoryName <", value, "uprrescategoryname");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameLessThanOrEqualTo(String value) {
            addCriterion("upRresCategoryName <=", value, "uprrescategoryname");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameLike(String value) {
            addCriterion("upRresCategoryName like", value, "uprrescategoryname");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameNotLike(String value) {
            addCriterion("upRresCategoryName not like", value, "uprrescategoryname");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameIn(List<String> values) {
            addCriterion("upRresCategoryName in", values, "uprrescategoryname");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameNotIn(List<String> values) {
            addCriterion("upRresCategoryName not in", values, "uprrescategoryname");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameBetween(String value1, String value2) {
            addCriterion("upRresCategoryName between", value1, value2, "uprrescategoryname");
            return (Criteria) this;
        }

        public Criteria andUprrescategorynameNotBetween(String value1, String value2) {
            addCriterion("upRresCategoryName not between", value1, value2, "uprrescategoryname");
            return (Criteria) this;
        }

        public Criteria andRescategorynameIsNull() {
            addCriterion("resCategoryName is null");
            return (Criteria) this;
        }

        public Criteria andRescategorynameIsNotNull() {
            addCriterion("resCategoryName is not null");
            return (Criteria) this;
        }

        public Criteria andRescategorynameEqualTo(String value) {
            addCriterion("resCategoryName =", value, "rescategoryname");
            return (Criteria) this;
        }

        public Criteria andRescategorynameNotEqualTo(String value) {
            addCriterion("resCategoryName <>", value, "rescategoryname");
            return (Criteria) this;
        }

        public Criteria andRescategorynameGreaterThan(String value) {
            addCriterion("resCategoryName >", value, "rescategoryname");
            return (Criteria) this;
        }

        public Criteria andRescategorynameGreaterThanOrEqualTo(String value) {
            addCriterion("resCategoryName >=", value, "rescategoryname");
            return (Criteria) this;
        }

        public Criteria andRescategorynameLessThan(String value) {
            addCriterion("resCategoryName <", value, "rescategoryname");
            return (Criteria) this;
        }

        public Criteria andRescategorynameLessThanOrEqualTo(String value) {
            addCriterion("resCategoryName <=", value, "rescategoryname");
            return (Criteria) this;
        }

        public Criteria andRescategorynameLike(String value) {
            addCriterion("resCategoryName like", value, "rescategoryname");
            return (Criteria) this;
        }

        public Criteria andRescategorynameNotLike(String value) {
            addCriterion("resCategoryName not like", value, "rescategoryname");
            return (Criteria) this;
        }

        public Criteria andRescategorynameIn(List<String> values) {
            addCriterion("resCategoryName in", values, "rescategoryname");
            return (Criteria) this;
        }

        public Criteria andRescategorynameNotIn(List<String> values) {
            addCriterion("resCategoryName not in", values, "rescategoryname");
            return (Criteria) this;
        }

        public Criteria andRescategorynameBetween(String value1, String value2) {
            addCriterion("resCategoryName between", value1, value2, "rescategoryname");
            return (Criteria) this;
        }

        public Criteria andRescategorynameNotBetween(String value1, String value2) {
            addCriterion("resCategoryName not between", value1, value2, "rescategoryname");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}